package com.chainyoung.component_tmtrade.bean;

import java.util.List;

public class TradeCurrencyItem {


    /**
     * id : 1299756
     * orderno : 7848e1c659079626
     * addtime : 1524449078
     * type : 1
     * num : 7
     * deal : 0
     * left_num : 7
     * xnb : BIT
     * scb : ETH
     * mum : 49
     * price : 7
     * fee : 0
     * fee_coin : ETH
     * curr_price : 10
     * can_cancel : true
     */

    private String id;
    private String orderno;//币币交易订单号
    private long addtime;//挂单时间
    private int type;//挂单类型
    private String num;//挂单数量
    private String deal;//已成交数量
    private String left_num;//未成交数量
    private String xnb;//虚拟币
    private String scb;//市场币
    private String mum;//币种总价值
    private String price;//单价
    private String fee;//手续费(只作为参考)
    private String fee_coin;//手续费单位
    private String curr_price;//挂单时的市场价（成交均价）
    private boolean can_cancel;//是否可以撤销
    private String average_price;//成交均价
    private String scb_cny_rate;//汇率

    private int status;//当前挂单状态 0：可卖 1：已卖完 2：已撤销
    private List<TradeCurrencyItemOrder> order_list;//该挂单下对应的订单数据





    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public long getAddtime() {
        return addtime;
    }

    public void setAddtime(long addtime) {
        this.addtime = addtime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getDeal() {
        return deal;
    }

    public void setDeal(String deal) {
        this.deal = deal;
    }

    public String getLeft_num() {
        return left_num;
    }

    public void setLeft_num(String left_num) {
        this.left_num = left_num;
    }

    public String getXnb() {
        return xnb;
    }

    public void setXnb(String xnb) {
        this.xnb = xnb;
    }

    public String getScb() {
        return scb;
    }

    public void setScb(String scb) {
        this.scb = scb;
    }

    public String getMum() {
        return mum;
    }

    public void setMum(String mum) {
        this.mum = mum;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getFee_coin() {
        return fee_coin;
    }

    public void setFee_coin(String fee_coin) {
        this.fee_coin = fee_coin;
    }

    public String getCurr_price() {
        return curr_price;
    }

    public void setCurr_price(String curr_price) {
        this.curr_price = curr_price;
    }

    public boolean isCan_cancel() {
        return can_cancel;
    }

    public void setCan_cancel(boolean can_cancel) {
        this.can_cancel = can_cancel;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<TradeCurrencyItemOrder> getOrder_list() {
        return order_list;
    }

    public void setOrder_list(List<TradeCurrencyItemOrder> order_list) {
        this.order_list = order_list;
    }

    public String getAverage_price() {
        return average_price;
    }

    public void setAverage_price(String average_price) {
        this.average_price = average_price;
    }

    public String getScb_cny_rate() {
        return scb_cny_rate;
    }

    public void setScb_cny_rate(String scb_cny_rate) {
        this.scb_cny_rate = scb_cny_rate;
    }
}
